package com.clkj.xiuzheng.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;

@ApiModel( value ="t_cl_warehouse" )
@Table( name ="t_cl_warehouse" )
public class Warehouse  implements Serializable {

    @Id
    @Column(name = "warehouse_id", updatable = false)
    @ApiModelProperty(value = "null")
    private Integer warehouseId;

    /**
     * 供应商Id
     */
    @Column(name = "warehouse_name")
    @ApiModelProperty(value = "供应商Id")
    private String warehouseName;

    /**
     * 0不可使用1可使用
     */
    @Column(name = "warehouse_status")
    @ApiModelProperty(value = "0不可使用1可使用")
    private Integer warehouseStatus;

    /**
     * 公司id
     */
    @Column(name = "company_id")
    @ApiModelProperty(value = "公司id")
    private Integer companyId;

    @Transient
    private String companyName;


    public Integer getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Integer warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public Integer getWarehouseStatus() {
        return warehouseStatus;
    }

    public void setWarehouseStatus(Integer warehouseStatus) {
        this.warehouseStatus = warehouseStatus;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }
}